<%@page import="PO.Stuinfo"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">
body {
	background: url("../image/7.7.jpg");
}

.update_box {
	width: 80%;
	height: 500px;
	margin-left: 200px;
	margin-top: 200px;
}

span {
	color: goldenrod;
	font-weight: bolder;
	font-size: 22px;
}

input {
	width: 100%;
	height: 25px;
	border: 1px solid goldenrod;
	background-color: goldenrod;
}

.update_box #update_btn {
	width: 80px;
	height: 25px;
}

table {
	border: 5px solid goldenrod;
}
</style>
</head>
<body>
	<div class="box">

		<s:form action="updateMessageAction" method="post">
			<table align="center" width="80%" border="5px">
				<%
					ArrayList list = (ArrayList) session.getAttribute("oneInfo");
						Stuinfo info = (Stuinfo) list.get(0);
				%>
				<tr>
					<td align="center" bgcolor="black"><span>编号</span></td>
					<td align="center"><input name="id" value="<%=info.getId()%>" />
					</td>
				</tr>
				<tr>
					<td align="center" bgcolor="black"><span>电影名</span></td>
					<td align="center"><input name="name"
						value="<%=info.getName()%>" /></td>
				</tr>
				<tr>
					<td align="center" bgcolor="black"><span> 主演 </span></td>
					<td align="center"><input name="star"
						value="<%=info.getStar()%>" /></td>
				</tr>
				<tr>
					<td align="center" bgcolor="black"><span> 类型</span></td>
					<td align="center"><input name="type"
						value="<%=info.getType()%>" /></td>
				</tr>
				<tr>
					<td align="center" bgcolor="black"><span> 上映时间 </span></td>
					<td align="center"><input name="time"
						value="<%=info.getTime()%>" /></td>
				</tr>
				<tr>
					<td align="center" bgcolor="black"><span>制作人</span></td>
					<td align="center"><input name="maker"
						value="<%=info.getMaker()%>" /></td>
				</tr>

				<tr>
					<td align="center" bgcolor="black"><input type="reset"
						value="重  置" id="update_btn"></td>
					<td align="center" bgcolor="goldenrod"><input type="submit"
						value="确   认" id="update_btn"></td>

				</tr>



			</table>

		</s:form>
	</div>

</body>
</html>
